{extend name="layout" /}
{block name="content"}
<div class="mui-content">
	{volist name=":get_model_func('OrderConvert', 'list_datas', $_userid)" id="v"}
	<div class="tm-label">
		<div class="main-content">
			<span class="tm-font-boldx">{$v.title}</span>
		</div>
	</div>
	<div class="tm-df-size">
		<ul class="mui-table-view max">
			{volist name="v.list" id="vc"}
			<li class="mui-table-view-cell">
				<a href="{:url('exchange_record_detail', ['oc_id'=>$vc.id, 'token'=>$token, 'timestamp'=>time()])}" class="tm-label-no">
					<div class="tm-flex-row">
						<span class="tm-font-green">-{$vc.totalprice}积分</span>
					</div>
					<div class="tm-flex-row">
						<div class="tm-flex">
							<div class="tm-flex-1 tm-flex-head">
								<div class="mui-ellipsis tm-inline-1-3 tm-xs-size">
									{$vc.description}
								</div>
							</div>
							<div>
								{eq name="vc.status" value="1"}
								<span class="tm-df-size tm-font-yellow">{$vc.statusname}</span>
								{else /}
								<span class="tm-df-size tm-font-blue">{$vc.statusname}</span>
								{/eq}
							</div>
						</div>
					</div>
					<div class="tm-flex-row">
						<div class="tm-flex">
							<div class="tm-flex-1">
								<span class="tm-font-gray">{$vc.dateline}</span>
							</div>
							<div class="tm-font-gray">
								<div class="tm-label-item">
									<span class="tm-label">详情</span>
									<span class="mui-icon mui-icon-arrowright tm-df-size"></span>
								</div>
							</div>
						</div>
					</div>
				</a>
			</li>
			{/volist}
		</ul>
	</div>
	{/volist}
</div>
{/block}
{block name="script"}

{/block}